package cn.huapu.power.energy.mapper;

import cn.huapu.power.energy.bean.PeaTransformerscore;
import cn.huapu.power.energy.bean.bo.DateParameterBo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PeaTransformerscoreMapper extends BaseMapper<PeaTransformerscore, Integer> {
    List<PeaTransformerscore> getEconomicsScoreDy(@Param("year") String year, @Param("month")String month, @Param("id")int id);

    List<PeaTransformerscore> getEconomicsScoreSy(@Param("year1")String year1, @Param("month1")String month1, @Param("id")int id);

    List<PeaTransformerscore> getTraByqPm(DateParameterBo da);
    
    Integer getMaxYear( @Param("id")Integer id);
    Integer getMaxMonth(@Param("year") Integer year, @Param("id")Integer id);
}